package com.gxlevi.adaptor;

public class Phone {
    Val5V v;

    public Phone(Val5V v) {
        this.v = v;
    }

    public void changing() {
        if (v.output5v() == 5) {
            System.out.println("可以成功充电");
        } else {
            System.out.println("不符合充电标准");
        }
    }
}
